package com.zyuuo.warehouse.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 关注公众号：MarkerHub
 * @since 2023-01-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TPurchaseListGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 进货单商品列表id，主键
     */
    @TableId(value = "purchase_list_goods_id", type = IdType.AUTO)
    private Integer purchaseListGoodsId;

    /**
     * 商品编号id，外键
     */
    private Integer goodsId;

    /**
     * 商品编码
     */
    private String goodsCode;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 商品型号
     */
    private String goodsModel;

    /**
     * 商品单位
     */
    private String goodsUnit;

    /**
     * 进货数量
     */
    private Integer goodsNum;

    /**
     * 商品单价
     */
    private Float price;

    /**
     * 总金额
     */
    private Float total;

    /**
     * 进货单id，外键
     */
    private Integer purchaseListId;

    /**
     * 商品类别id，外键
     */
    private Integer goodsTypeId;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 供应商id，外键
     */
    private Integer supplierId;

    /**
     * 用户id，外键
     */
    private Integer userId;

    /**
     * 备注
     */
    private String remarks;


}
